provider Snapshots GET /api/0/organizations/{organization_id_or_slug}/preprodartifacts/snapshots/latest-base/
@utdk/sentry /api/0/organizations/{organization_id_or_slug}/preprodartifacts/snapshots/latest-base/
Retrieve latest base Snapshot
Retrieve the most recent base snapshot for a given app. A base snapshot is one uploaded without a `base_sha` (i.e., a snapshot from a base branch like `main`). Use the optional `branch` and `project` parameters to narrow the search. The response includes the full image list with download URLs. Use `compact_metadata=1` to reduce image metadata. This endpoint requires a bearer token with `project:read` access.
organization_id_or_slug path required
The ID or slug of the organization the resource belongs to.
string
app_id query required
App identifier to match.
string
branch query
Git branch name to filter on.
string
project query
Project ID to scope the lookup.
integer
compact_metadata query
Set to '1' or 'true' to strip image metadata to display_name, image_file_name, group, description, and image_url only.
string

Try it

Authentication
Configure credentials for API Reference
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.

Saved automatically to browser storage.

retrieveLatestBaseSnapshot
GET/api/0/organizations/{organization_id_or_slug}/preprodartifacts/snapshots/latest-base/
Retrieve the most recent base snapshot for a given app. A base snapshot is one uploaded without a `base_sha` (i.e., a snapshot from a base branch like `main`). Use the optional `branch` and `project` parameters to narrow the search. The response includes the full image list with download URLs. Use `compact_metadata=1` to reduce image metadata. This endpoint requires a bearer token with `project:read` access.

Parameters

required

The ID or slug of the organization the resource belongs to.

required

App identifier to match.

Git branch name to filter on.

Project ID to scope the lookup.

Set to '1' or 'true' to strip image metadata to display_name, image_file_name, group, description, and image_url only.

Enter a gateway URL above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import sentry from '@utdk/sentry';

await sentry.retrieveLatestBaseSnapshot()